package com.yonyou.pmclouds.project.entity;

import com.yonyou.pmclouds.basecom.entity.SuperVO;
import com.yonyou.pmclouds.team.entity.TeamEnterpriseVO;
import com.yonyou.pmclouds.team.entity.TeamMemberVO;
import lombok.Data;

import java.io.Serializable;

@Data
public class ProjectUpdateViewVO extends SuperVO {

    private ProjectVO project;

    private EnterpriseUpdateInfo enterpriseUpdateInfo;

    private MemberUpdateInfo memberUpdateInfo;

    @Data
    public static class EnterpriseUpdateInfo implements Serializable{
        private TeamEnterpriseVO[] insertEnterpriseVOs;
        private TeamEnterpriseVO[] updateEnterpriseVOs;
        private TeamEnterpriseVO[] deleteEnterpriseVOs;
    }
    @Data
    public static class MemberUpdateInfo implements Serializable{
        private TeamMemberVO[] insertMemberVOs;
        private TeamMemberVO[] updateMemberVOs;
        private TeamMemberVO[] deleteMemberVOs;
    }

}
